Lines Matching defs:packet
127 /* Set the packet timebase for the decoder. */
250 * Initialize one data packet for reading or writing.
251 * @param[out] packet Packet to be initialized
254 static int init_packet(AVPacket **packet)
256 if (!(*packet = av_packet_alloc())) {
257 fprintf(stderr, "Could not allocate packet\n");
385 /* Read one audio frame from the input file into a temporary packet. */
397 /* Send the audio frame stored in the temporary packet to the decoder.
400 fprintf(stderr, "Could not send packet for decoding (error '%s')\n",
685 /* Send the audio frame stored in the temporary packet to the encoder.
691 fprintf(stderr, "Could not send packet for encoding (error '%s')\n",
716 /* Write one audio frame from the temporary packet to the output file. */