[Ffmpeg-devel] MPEG2 seeking broken

Mike Melanson mike
Wed Apr 19 22:20:19 CEST 2006


Rodrigo Severo wrote:
> On 4/19/06, Mike Melanson <mike at multimedia.cx> wrote:
> 
>>Michael Niedermayer wrote:
>>
>>>>+    assert(ref_picture != NULL);
>>>>+    if (ref_picture == NULL) {
>>>
>>>
>>>is not acceptable
>>
>>What's the policy? No asserts?
> 
> 
> 
> I believe I can answer this one:
> 
> You asserted that ref_picture != NULL and them creates some condition to
> execute in case ref_picture is NULL. It won't ever be executed.

	I think that would be true in normal development environments. 
Generally, the "debug" build has those facilities. The "release" build 
compiles asserts to NOPs, per my understanding.

-- 
	-Mike Melanson





More information about the ffmpeg-devel mailing list