History

avfilter/src_movie: Remove unneeded resetting of AVPacket

av_read_frame() already returns clean packets on error.

Andreas Rheinhardt committed 6 years ago

Commit c97d91e1 parent f4b84d81 file · +0 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/src_movie.c+0−1
@@ -495,7 +495,6 @@ static int movie_push_frame(AVFilterContext *ctx, unsigned out_id) · 494 unmodified lines
495495 } else {
496496 ret = av_read_frame(movie->format_ctx, &movie->pkt0);
497497 if (ret < 0) {
498− av_init_packet(&movie->pkt0); /* ready for flushing */
499498 *pkt = movie->pkt0;
500499 if (ret == AVERROR_EOF) {
501500 movie->eof = 1;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t