[FFmpeg-devel] [PATCH] avio: Avoid endless loop in case no data arrives

Andrey Utkin andrey.krieger.utkin at gmail.com
Wed Mar 14 20:14:35 CET 2012


#libav-devel
(21:10:03) BBB-work: kriegerod, so, I think I've seen that patch before
(21:10:10) BBB-work: kriegerod, and it was reverted because it breaks
other things
(21:10:28) BBB-work: kriegerod, from what I remember, it broke header
writing in files when quit using ctrl-C
(21:10:54) BBB-work: kriegerod, writes should be interruptible, and if
not, the bug is there
(21:11:53) BBB-work: kriegerod, if the interrupt check with continue
makes this bad, then a specific check for ff_interrupt_check there is
probably fine
(21:12:01) BBB-work: but it should be after, not before, the write
(21:12:07) BBB-work: (the transfer func)

Please somebody comment on this. If BBB is right, then i rework this patch.

-- 
Andrey Utkin


More information about the ffmpeg-devel mailing list