[FFmpeg-devel] [PATCH] fix ffmpeg crash on reading "non-interleved" DV type 1 AVI files
Michael Niedermayer
michaelni
Thu Jan 14 16:01:33 CET 2010
On Thu, Jan 14, 2010 at 04:31:20PM +0200, Maksym Veremeyenko wrote:
> Hi,
>
> $subj
>
> --
> ________________________________________
> Maksym Veremeyenko
>
> avidec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 67db0ce0df972327aedd6924327c5a93b00852f1 avidec_fix_non_interleaved_dv_type_1_crash.patch
> Index: libavformat/avidec.c
> ===================================================================
> --- libavformat/avidec.c (revision 21211)
> +++ libavformat/avidec.c (working copy)
> @@ -678,7 +678,7 @@
> return size;
> }
>
> - if(avi->non_interleaved){
> + if(avi->non_interleaved && !(CONFIG_DV_DEMUXER && avi->dv_demux)){
> int best_stream_index = 0;
i dont know what you are trying to do here, so i cannot make any suggestions
for a correct solution but i do know your patch is wrong
full bugreport and explanation of why a random piece of the non interleaved
handling should be skiped is missing
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100114/4af485da/attachment.pgp>
More information about the ffmpeg-devel
mailing list