Revision b93e12fd ffplay.c

View differences:

ffplay.c
1831 1831
#else
1832 1832
        ret = get_video_frame(is, frame, &pts_int, &pkt);
1833 1833
        pos = pkt.pos;
1834
        av_free_packet(&pkt);
1834 1835
#endif
1835 1836

  
1836 1837
        if (ret < 0) goto the_end;
......
1841 1842
        pts = pts_int*av_q2d(is->video_st->time_base);
1842 1843

  
1843 1844
        ret = queue_picture(is, frame, pts, pos);
1844
#if !CONFIG_AVFILTER
1845
        av_free_packet(&pkt);
1846
#endif
1845

  
1847 1846
        if (ret < 0)
1848 1847
            goto the_end;
1849 1848

  

Also available in: Unified diff