]> git.sesse.net Git - ffmpeg/blobdiff - ffprobe.c
lavu/opt: add AV_OPT_VIDEO_RATE option
[ffmpeg] / ffprobe.c
index 72e3bb093f448e9e113e03ab8df0adb6150ba524..4d2d3e1e47a9a219aed1a99b65f0d5c80c1522e8 100644 (file)
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -300,7 +300,7 @@ static int writer_open(WriterContext **wctx, const Writer *writer, const char *a
 {
     int i, ret = 0;
 
-    if (!(*wctx = av_malloc(sizeof(WriterContext)))) {
+    if (!(*wctx = av_mallocz(sizeof(WriterContext)))) {
         ret = AVERROR(ENOMEM);
         goto fail;
     }
@@ -1500,7 +1500,6 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream,
         print_int("interlaced_frame",       frame->interlaced_frame);
         print_int("top_field_first",        frame->top_field_first);
         print_int("repeat_pict",            frame->repeat_pict);
-        print_int("reference",              frame->reference);
         break;
 
     case AVMEDIA_TYPE_AUDIO: