Chromium Code Reviews| Index: patched-ffmpeg-mt/libavutil/fifo.c |
| =================================================================== |
| --- patched-ffmpeg-mt/libavutil/fifo.c (revision 41250) |
| +++ patched-ffmpeg-mt/libavutil/fifo.c (working copy) |
| @@ -78,6 +78,7 @@ |
| return 0; |
| } |
| +// src must NOT be const as it can be a context for func that may need updating (like a pointer or byte counter) |
| int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void*, void*, int)) |
| { |
| int total = size; |