summaryrefslogtreecommitdiff
path: root/avplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'avplay.c')
-rw-r--r--avplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avplay.c b/avplay.c
index 018f63dedb..ba59a8c0fc 100644
--- a/avplay.c
+++ b/avplay.c
@@ -2963,7 +2963,7 @@ int main(int argc, char **argv)
SDL_EventState(SDL_USEREVENT, SDL_IGNORE);
av_init_packet(&flush_pkt);
- flush_pkt.data = "FLUSH";
+ flush_pkt.data = (uint8_t *)&flush_pkt;
cur_stream = stream_open(input_filename, file_iformat);